
package framework.model;

import java.util.Calendar;
import java.util.Date;

public class Entry implements IEntry {

    private double amount;
    private Date date;
    //
    public Entry(double amount) {
        this.amount = amount;
        this.date = Calendar.getInstance().getTime();
    }

    public Date getDate() {
        return date;
    }

    public double getAmount() {
        return amount;
    }

    public void setAmount(double amout) {
        this.amount = amout;
    }
}
